package com.mike.pojo;

public class EmpIntro {
	private int empno;
	private	String name;
	private	int sal;
	private	String intro;
	private String deptname;
	public EmpIntro(int empno, String name, int sal, String intro, String deptname) {
		super();
		this.empno = empno;
		this.name = name;
		this.sal = sal;
		this.intro = intro;
		this.deptname = deptname;
	}
	public int getEmpno() {
		return empno;
	}
	public void setEmpno(int empno) {
		this.empno = empno;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getSal() {
		return sal;
	}
	public void setSal(int sal) {
		this.sal = sal;
	}
	public String getIntro() {
		return intro;
	}
	public void setIntro(String intro) {
		this.intro = intro;
	}
	public String getDeptname() {
		return deptname;
	}
	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}
	
	public EmpIntro() {
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "EmpIntro [empno=" + empno + ", name=" + name + ", sal=" + sal + ", intro=" + intro + ", deptname="
				+ deptname + "]";
	}
	
	
}
